//
//  Utils+File.h
//  NvSellerShow
//
//  Created by Meicam on 2017/2/25.
//  Copyright © 2017年 Meicam. All rights reserved.
//

#import "Utils.h"

@interface Utils (File)

+ (NSString *)homeDirectory;

+ (NSString *)documentDirectory;

+ (NSString *)scaleImageDirectory;

+ (NSString *)cacheDirectory;

+ (NSString *)tmpDirectory;

+ (UIStoryboard *)mainStoryboard;

+ (NSString *)messageThumbnailDirectory;

+ (NSURL *)createFolderWithName:(NSString *)folderName inDirectory:(NSString *)directory;

+ (NSString *)dataPath;

+ (NSString *)getTimeAndRandom;

+ (void)removeFileAtPath:(NSString *)path;

+ (void)writeImageAtPath:(NSString *)path image:(UIImage *)image;

/**
 *  返回文件大小，单位为字节
 */
+ (unsigned long long)getFileSize:(NSString *)path;

+ (NSBundle *)myBundle;
@end
